using System;

namespace SubversionReports.Entities
{
    public class RepositorySummary
    {
        private string rootUrl;
        private SortableDictionary<string, int> contributors;
        private int revisionCount;
        private DateTime lastQueried;
        private DateTime lastRevised;

        /// <summary>
        /// Gets or sets the root URL.
        /// </summary>
        /// <value>The root URL.</value>
        public string RootUrl
        {
            get { return rootUrl; }
            set { rootUrl = value; }
        }

        /// <summary>
        /// Gets or sets the contributors.
        /// </summary>
        /// <value>The contributors.</value>
        public SortableDictionary<string, int> Contributors
        {
            get { return contributors; }
            set { contributors = value; }
        }

        /// <summary>
        /// Gets or sets the revision count.
        /// </summary>
        /// <value>The revision count.</value>
        public int RevisionCount
        {
            get { return revisionCount; }
            set { revisionCount = value; }
        }

        /// <summary>
        /// Gets or sets the last queried.
        /// </summary>
        /// <value>The last queried.</value>
        public DateTime LastQueried
        {
            get { return lastQueried; }
            set { lastQueried = value; }
        }

        /// <summary>
        /// Gets or sets the last revised.
        /// </summary>
        /// <value>The last revised.</value>
        public DateTime LastRevised
        {
            get { return lastRevised; }
            set { lastRevised = value; }
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="RepositorySummary"/> class.
        /// </summary>
        public RepositorySummary(){}
    }
}
